package com.yxt.mapper;

import com.yxt.pojo.TbCentre;
import com.yxt.pojo.TbCentreExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface TbCentreMapper {
    int countByExample(TbCentreExample example);

    int deleteByExample(TbCentreExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbCentre record);

    int insertSelective(TbCentre record);

    List<TbCentre> selectByExample(TbCentreExample example);

    TbCentre selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbCentre record, @Param("example") TbCentreExample example);

    int updateByExample(@Param("record") TbCentre record, @Param("example") TbCentreExample example);

    int updateByPrimaryKeySelective(TbCentre record);

    int updateByPrimaryKey(TbCentre record);
    @Select(value = "select  * from tb_centre where uid=#{value}")
    TbCentre select(Integer id);
}